<template>
  <div>
    <mt-tabbar fixed>
      <mt-tab-item id="首页">
        <router-link to="/home" tag="div">
          <div class="icon-box">
            <span class="fa fa-home fa-2x"></span>
          </div>
          首页
        </router-link>
      </mt-tab-item>
      <mt-tab-item id="会员">
        <router-link to="/member"  tag="div">
          <div class="icon-box">
            <span class="fa fa-user-plus fa-2x"></span>
          </div>
          会员
        </router-link>
      </mt-tab-item>
      <mt-tab-item id="购物篮">
        <router-link to="/shopcar"  tag="div">
          <div class="icon-box">
            <span class="fa fa-shopping-basket fa-2x"></span>
          </div>
          购物篮
        </router-link>
      </mt-tab-item>
      <mt-tab-item id="搜索" >
        <router-link to="/search" tag="div">
          <div class="icon-box">
            <span class="fa fa-search fa-2x"></span>
          </div>
          搜索
        </router-link>
      </mt-tab-item>
    </mt-tabbar>
  </div>
</template>

<script>
  export default {
    name: "",
    data() {
      return {

      }
    }
  }
</script>

<style lang="less" scoped>
  // 公用less模板
  @import '../assets/css/style.less';

  .mint-tabbar {
    border-top: 1px solid #E4E7ED;
    color: #909399;
  }

  .icon-box {
    height: 2.2em;

    .fa {
      font-size: 1.6em;
    }
  }
  .router-link-exact-active,.router-link-active{
    color:@Blue_color;
  }
</style>
